@import 'mo/style/common';
$icon-size: 35px;

#{$panel} {
    background-color: var(--panel-background);
    border-color: var(--panel-border);
    display: flex;
    height: 100%;
    position: relative;
    width: 100%;

    &__header,
    &__tabs,
    &__toolbar {
        display: flex;
    }

    &__header {
        border-color: inherit;
        border-top-style: solid;
        border-top-width: 1px;
        flex-direction: row;
        height: 35px;
        justify-content: space-between;
        padding: 0 8px;
        width: 100%;

        #{$tabs} {
            background: inherit;
            border: 0;
            flex-grow: 1;
        }

        #{$tab}__item {
            background: inherit;
            border: 0;
            color: var(--panelTitle-inactiveForeground);
            font-size: 11px;
            padding: 0 10px;
            text-transform: uppercase;

            &--active {
                border-color: var(--panelTitle-activeBorder);
                color: var(--panelTitle-activeForeground);

                &::after {
                    background-color: var(--panelTitle-activeBorder);
                    bottom: 2px;
                    content: ' ';
                    height: 1px;
                    left: 10px;
                    position: absolute;
                    right: 10px;
                }
            }
        }
    }

    &__container {
        border: 1px solid transparent;
        bottom: 0;
        box-sizing: border-box;
        left: 0;
        position: absolute;
        right: 0;
        top: 35px;
        width: 100%;

        &:focus {
            border-color: var(--list-focusOutline);
        }
    }

    &__toolbar {
        .codicon {
            height: $icon-size;
            line-height: $icon-size;
            margin-right: 4px;
            min-width: 28px;
        }
    }
}

#{$output} {
    height: 100%;
    width: 100%;
}
